package com.example.ymm.modules1.mapper.hl;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.hl.dkn.DknPurchaseOrder;
import com.example.ymm.modules1.query.hl.DknPurchaseOrderQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.DknCreatePurchaseOrderGroupDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DknPurchaseOrderMapper extends CoreMapper<DknPurchaseOrder> {


    /**
     * 查询待创建的采购单，还没推送到 rangk2的采购单
     * @param criteria
     * @return
     */
    List<DknCreatePurchaseOrderGroupDto> purchaseOrderWaitList(DknPurchaseOrderQueryCriteria criteria);


}